#include "stdafx.h"
#include "UtilSys.h"


bool Util::Sys::Is64Processor()
{
	SYSTEM_INFO stSystemInfo;
	::GetNativeSystemInfo(&stSystemInfo);
	if (stSystemInfo.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_INTEL)
	{
		return false;
	}
	else if (stSystemInfo.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64)
	{
		return true;
	}
	return false;
}
